package vashion.azeroth.contant;

/**
 * Created by tingting on 15/8/31.
 * 基础服务异常枚举
 */
public enum CommonErrorEnum {

    SYSTEM_ERROR(10001, "系统异常"),
    NOT_LOGIN(10002, "未登录"),
    ARG_ERROR(10003, "参数异常"),;

    private
    int errorCode;
    private
    String errorMessage;

    public int getErrorCode() {
        return errorCode;
    }

    public String getErrorMessage() {
        return errorMessage;
    }

    private CommonErrorEnum(int errorCode, String errorMessage) {
        this.errorCode = errorCode;
        this.errorMessage = errorMessage;
    }


}
